Skip to content

(ci): replace archived actions-rs actions - #324

Merged
SuperQ merged 1 commit into
prometheus:masterfrom
krisztianfekete:ci/drop-actions-rs
Aug 3, 2026
Merged

(ci): replace archived actions-rs actions#324
SuperQ merged 1 commit into
prometheus:masterfrom
krisztianfekete:ci/drop-actions-rs

Conversation

@krisztianfekete

Copy link
Copy Markdown
Collaborator

actions-rs/toolchain and actions-rs/cargo are both archived and still on node12, so dependabot keeps opening PRs to bump it, see #318.

This PR replaces them with dtolnay/rust-toolchain, which is already pinned at the same SHA in the cross-compile job, so no new dependency.
All six cargo commands are unchanged, profile: minimal/override: true are what dtolnay does by default, and rustup component add folds into components:.

Also dropped the protoc install from the Rustfmt job, since cargo fmt never builds anything.

Job names are untouched so the checks report exactly as before. Only downside: we losethe inline error annotations actions-rs/cargo gave us, but errors are still in the logs.

Closes #318.

Signed-off-by: krisztianfekete <git@krisztianfekete.org>
@SuperQ

SuperQ commented Aug 3, 2026

Copy link
Copy Markdown
Member

The GitHub Actions docs seem to indicate we could use rustup directly.

But this seems fine.

@krisztianfekete

Copy link
Copy Markdown
Collaborator Author

The GitHub Actions docs seem to indicate we could use rustup directly.

But this seems fine.

Yeah, good point, that would work too. Went with dtolnay/rust-toolchain here mainly because it was already pinned in the cross-compile job, so it's not new surface, and we can avoid the extra rustup component add lines. We can consider migrating later, though.

Thanks for the review!

@SuperQ
SuperQ removed the request for review from mxinden August 3, 2026 14:09
@SuperQ
SuperQ added this pull request to the merge queue Aug 3, 2026
Merged via the queue into prometheus:master with commit 0de7c50 Aug 3, 2026
10 checks passed
@krisztianfekete
krisztianfekete deleted the ci/drop-actions-rs branch August 3, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants